package com.gtn.exam.title.core.exception;

/**
 * The System defined custom Exception Class
 * 
 * <p>
 * This class is used to encapsulate the original {@link Exception}
 * 
 * @author Rukshan Silva | 13th August 2014
 * @version 1.0.0
 */
public class ModuleCommonsException extends Exception {

	private static final long serialVersionUID = -6484958052973635784L;

	/**
	 * Constructor which accepts the description of original exception
	 * 
	 * @param description The description of original exception thrown by the system
	 */
	public ModuleCommonsException(String description) {
		super(description);
	}
	
	/**
	 * Constructor which accepts the original exception
	 * 
	 * @param exception The original exception thrown by the system {@link Exception}
	 */
	public ModuleCommonsException(Exception exception) {
		super(exception);
	}
	
	/**
	 * Constructor which accepts the original exception
	 * 
	 * @param description The description of original exception thrown by the system
	 * @param exception The original exception thrown by the system {@link Exception}
	 */
	public ModuleCommonsException(String description, Exception exception) {
		super(description, exception);
	}
}
